package com.allwees.bs.module.oms.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.allwees.bs.core.model.order.wf.order.EOrderState;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper=false)
@NoArgsConstructor
public class ExportRefundVo  extends BaseRowModel {

    @ExcelProperty("createdAt")
    protected Date createdAt;

    /** 数量 **/
    @ExcelProperty("quantity")
    private Integer quantity;

    /** 价格 **/
    @ExcelProperty("price")
    private BigDecimal price;

    /** 金额 **/
    @ExcelProperty("amount")
    private BigDecimal amount;

    @ExcelProperty("orderUuid")
    protected String orderUuid;

    @ExcelProperty("orderNo")
    private String orderNo;

    @ExcelProperty("orderItemUuid")
    protected String orderItemUuid;

    @ExcelProperty("retailerUuid")
    protected String retailerUuid;

    @ExcelProperty("supplierUuid")
    protected String supplierUuid;

    @ExcelProperty("storeUuid")
    protected String storeUuid;

    @ExcelProperty("orderState")
    protected EOrderState orderState;

    @ExcelProperty("orderShippingState")
    protected Integer orderShippingState;

    @ExcelProperty("refundAmt")
    protected BigDecimal refundAmt;

    @ExcelProperty("currency")
    protected String currency;

    @ExcelProperty("type")
    protected Integer type;

    @ExcelProperty("reason")
    protected Integer reason;

    @ExcelProperty("remark")
    protected String remark;

    @ExcelProperty("photos")
    protected String photos;

    @ExcelProperty("productName")
    protected String productName;


    @ExcelProperty("storeName")
    protected String storeName;


    @ExcelProperty("userUuid")
    protected String userUuid;

    @ExcelProperty("skuColor")
    protected String skuColor;

    @ExcelProperty("skuSize")
    protected String skuSize;


    @ExcelProperty("skuAmt")
    protected BigDecimal skuAmt;

    @ExcelProperty("skuAmtProduct")
    protected BigDecimal skuAmtProduct;

    @ExcelProperty("skuAmtShipping")
    protected BigDecimal skuAmtShipping;

    @ExcelProperty("succeedAt")
    protected Date succeedAt;


    /**
     * 上一个操作
     */
    @ExcelProperty("latestAction")
    protected String latestAction;

    /**
     * 上一个状态
     */
    @ExcelProperty("backState")
    protected String backState;

    /**
     * 当前状态
     */
    @ExcelProperty("state")
    protected String state;

}
